getFontRequests

abstract fun getFontRequests(block: DesignBlock, from: Int = -1, to: Int = -1): List<FontRequest>

Returns unique stored requests intersecting the text range. Legacy URI fonts have no request.

Parameters

block

the text or caption block.

from

start UTF-16 index, or -1 for the current selection or entire block.

to

exclusive end UTF-16 index, or -1 for the current selection or entire block.